package com.qkl.upload.publics.utils;

public class ErrorCodeUtils {

    public static final Integer PARAM_EMPTY = 1000;
    public static final String PARAM_EMPTY_MSG = "参数不能为空";

    public static final Integer PARAM_ILLEGAL = 1001;
    public static final String PARAM_ILLEGAL_MSG = "非法参数";


    public static final Integer QUERY_NOT_DATA = 1100;
    public static final String QUERY_NOT_DATA_MSG = "查询无数据";

    public static final Integer QUERY_FAIL = 1101;
    public static final String QUERY_FAIL_MSG = "查询失败";


    public static final Integer OPERATE_FAIL = 2000;
    public static final String OPERATE_FAIL_MSG = "操作失败";

    public static final Integer USER_NOT_EXIST = 3001;
    public static final String USER_NOT_EXIST_MSG = "用户不存在";

    public static final Integer USER_STATUS_EXP = 3002;
    public static final String UUSER_STATUS_EXP_MSG = "用户状态异常";


    public static final Integer USER_LOGOUT_FAIL = 3004;
    public static final String UUSER_LOGOUT_FAILL_MSG = "用户退出登陆失败";

    public static final Integer SIGN_EMPTY = 4000;
    public static final String SIGN_EMPTY_MSG = "签名为空";

    public static final Integer SIGN_INVALID = 4001;
    public static final String SIGN_INVALID_MSG = "无效签名";

    public static final Integer SIGN_EXPIRE = 4002;
    public static final String SIGN_EXPIRE_MSG = "签名过期";

    public static final Integer SMS_SEND_FAIL = 4500;
    public static final String SMS_SEND_FAIL_MSG = "发送手机动态码失败";

    public static final Integer SMS_VERIFY_FAIL = 4501;
    public static final String SMS_VERIFY_FAIL_MSG = "验证手机动态码失败";

    public static final Integer LOGIN_FAIL = 5000;
    public static final String  LOGIN_FAIL_MSG = "登陆失败";

    public static final Integer REGISTER_FAIL = 5001;
    public static final String  REGISTER_FAIL_MSG = "用户注册失败";

    public static final Integer RESET_PWD_FAIL = 5002;
    public static final String  RESET_PWD_FAIL_MSG = "密码重置失败";

    public static final Integer SET_USER_INFO_FAIL = 5003;
    public static final String  SET_USER_INFO_FAIL_MSG = "设置用户信息失败";


    public static final Integer UPLOAD_FAIL = 5101;
    public static final String UPLOAD_FAIL_MSG = "文件上传失败";

    public static final Integer DEVICE_NOT_LINE = 5102;
    public static final String DEVICE_NOT_LINE_MSG = "设备已离线";

    public static final Integer DEVICE_NOT_INSTALL = 5103;
    public static final String DEVICE_NOT_INSTALL_MSG = "设备未安装";






}
